import request from '@/utils/request'

export function createOrUpdateCanteenBuyInfo(data) {
    return request({
      url: '/canteen/buy/createOrUpdateCanteenBuyInfo',
      method: 'post',
      data
    })
}

export function getBuyPageList(data) {
    return request({
      url: '/canteen/buy/getBuyPageList',
      method: 'post',
      data
    })
}

//入库
export function goodsPutStock(data) {
    return request({
      url: '/canteen/buy/goodsPutStock',
      method: 'post',
      data
    })
}

//查询订单信息
export function getOrderPageList(data) {
  return request({
    url: '/food/order/getOrderPageList',
    method: 'post',
    data
  })
}
//查询订单商品
export function getOrdeGoodsrPageList(query) {
  return request({
    url: '/food/order/getOrdeGoodsrPageList',
    method: 'get',
    params: query
  })
}


